package
{
	import SEApp.se_util;
	
	import UIAway.uif_view;
	
	import UIFree.ObjectEvent;
	import UIFree.uif_Timer;
	import UIFree.uif_app;
	import UIFree.uif_styles;
	
	import away3d.entities.Sprite3D;
	import away3d.entities.TextureProjector;
	import away3d.materials.BitmapMaterial;
	import away3d.vf.HoverDragController;
	import away3d.vf.managers.awayLoadSection;
	
	import descentFly.app.df_baseApp;
	import descentFly.app.df_block;
	import descentFly.app.df_panel;
	import descentFly.app.df_styles;
	import descentFly.app.df_topTollbar;
	import descentFly.app.df_userInterface;
	import descentFly.app.dialogs.levelsWindow.df_levelsWindow;
	import descentFly.app.radar.df_radarEvent;
	import descentFly.app.radar.df_radarPanel;
	import descentFly.app.scrollBar.df_scrollBarH;
	import descentFly.app.scrollBar.df_scrollBarV;
	import descentFly.app.social.ISocial;
	import descentFly.app.social.df_defSocial;
	import descentFly.app.tools.df_statusPanel;
	import descentFly.away3D4.Generator.ENV02.df_fantasticPlane;
	import descentFly.df_utils;
	
	import flash.display.Bitmap;
	import flash.display.GradientType;
	import flash.display.Graphics;
	import flash.display.SpreadMethod;
	import flash.events.TimerEvent;
	import flash.geom.Matrix;
	import flash.geom.Matrix3D;
	import flash.geom.Point;
	import flash.geom.Rectangle;
	import flash.geom.Vector3D;
	import flash.utils.Timer;
	
	[SWF(width="1000", height="1000", frameRate="40", backgroundColor="#FFFFFF")]
//	[SWF(frameRate="40", backgroundColor="#000000", scale="noscale")]
	public class away_exp extends df_baseApp {
		
		private var _view: uif_view;
		public function away_exp() { 
			super(new df_styles());
			
			styleClass = 'black';
			resize(stage.stageWidth, stage.stageHeight);
			
/*			addChild(new Bitmap(df_fantasticPlane.bmdGenarate(1000, 1000, [
				{x: 0.5, y: 0.5, size: 1, color: 0x88FF22},
				{x: 0.2, y: 0.3, size: 0.4, color: 0x888800},
				{x: 0.8, y: 0.2, size: 0.5, color: 0x88FF00},
				{x: 0.6, y: 0.9, size: 0.6, color: 0xFFFF00}
			])));*/
			
/*			new df_userInterface(this, getInner());
			
			stage.addEventListener(df_radarEvent.GETPOINTS, doGetPoints);*/
		}
		
/*		protected function doGetPoints(e: df_radarEvent): void {
			var rnd: int = Math.round(Math.random());
			for (var i:int=0; i<rnd; i++) {
				var v: Vector3D = e.object.direct.clone();
				v.scaleBy(Math.random() * 2000);
				var mat: Matrix3D = new Matrix3D();
				mat.appendRotation(e.object.angle * Math.random(), Vector3D.Y_AXIS);
				v = mat.transformVector(v);
				
				e.addPoint(v, 0);
			}
		}*/
	}
}